import java.util.Scanner;

public class Calculator {
    public static void main(String[] args) throws Exception {
        int numberA, numberB;
        int result;
        String operator;
        Scanner scanner = new Scanner(System.in);
        //界面逻辑代码
        numberA = scanner.nextInt();
        operator = scanner.next();
        numberB = scanner.nextInt();
        //业务逻辑代码
        switch (operator) {
            case "+":
                result = numberA + numberB;
                break;
            case "-":
                result = numberA - numberB;
                break;
            case "*":
                result = numberA * numberB;
                break;
            default:
                throw new Exception("输入的运算符号不合法！");
        }
        //界面逻辑代码
        System.out.println(result);
    }
}
